package com.example.finalproject.car;

import com.example.finalproject.User.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

@Repository
public interface CarRepository {
    //寻找车辆
    @Select("select * from cars where carId=#{carId}")
    public Car selectCarById(String carId);
}
